Item
Ecng.ComponentModel.Stat`1
Represents an item that tracks the duration of an action.
Erbt von: Disposable
Konstruktoren
Item
internal Item(Stat<TAction> parent, TAction action, IPAddress address, Stopwatch watch)
item = Item(parent, action, address, watch)
Initializes a new instance of the Item class.
- parent
- The parent statistic instance.
- action
- The action being tracked.
- address
- The IP address associated with the action.
- watch
- The stopwatch tracking the action duration.
Methoden
DisposeManaged
protected override void DisposeManaged()
item.DisposeManaged()
Disposes the current tracking item and updates the parent statistics.
Felder
Address
internal readonly IPAddress Address
value = item.Address
Gets the IP address associated with the action.